﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Configuration;
using Perseus.WCF.Service;
using Perseus.WCF.Contract;

using Perseus.WCF.Core.Host;

namespace Perseus.WCF.Host
{
    class Program
    {
        static void Main(string[] args)
        {
            string baseUrl = ConfigurationManager.AppSettings["HttpServiceBase"];

            //Host a WCF service by console
            IHost<PerseusDemoService> host = new ConsoleHost<PerseusDemoService>(baseUrl, "PerseusDemoService");
            host.Host();
        }
    }
}
